/*
Java source file
Copyright: Umschalt.com 2012
*/
package com.david.documentation.service.doku;

import com.david.documentation.domain.entities.doku.Doku;

import java.util.List;

public interface DokuService {

	Doku findById(Long id);

	void save(Doku doku);

    Doku update(Doku doku);

    void remove(Doku doku);

    long size();

    List<Doku> findAll();

	List<Doku> findDokusByCategory(String category);

	List<Doku> findDokusByCategory(String category, int start, int count);

	List<Doku> findDokusByTag(String tag);

	List<Doku> findDokusByTag(String tag, int start, int count);

	List<Doku> findDokusToday(int start,int count);

}
